@charset 'utf-8';
$style: #e5373b;
page{
	background-color: #F9F9F9;
}
.cart {
	.top-fun {
		height: 90rpx;
		padding: 0 32rpx;
		display: flex;
		justify-content: space-between;
		align-items: center;
		background-color:#FFFFFF;
		.check-all {
			text {
				font-size: 26rpx;
				color: #333333;
			}
			.wx-checkbox-input{
				width: 27rpx;
				height: 27rpx;
			}
		}
		.del-btn {
			/* display: block; */
			width: 120rpx;
			height: 42rpx;
			display: flex;
			justify-content: center;
			align-items: center;
			border: 1px solid #F65C28;
			border-radius: 21rpx;
			font-size: 24rpx;
			color: $style;
			&:disabled {
				color: #fff;
				background-color: #F65C28;
			}
			image{
				width: 22rpx;
				height: 24rpx;
				margin-right: 10rpx;
			}
		}
	}

	.list {
		width: 100%;
		max-height: calc(100vh - 200rpx);
		overflow-y: auto;
		overflow-x: hidden;
		padding-bottom: 50rpx;
		background-color: #fff;
		// background-color: #f0f0f0;
		.actives {
			padding: 0 32rpx;
		}
		.disableds {
			padding: 0 32rpx;
			background-color: rgba(240, 240, 240, 0.5);
		}
		.item {
			display: flex;
			justify-content: space-between;
			align-items: center;
			padding: 40rpx 0;
			border-top: 1px solid #F9F9F9;
			position: relative;
			.check {
				width: 43rpx;
				flex-shrink: 0;
				.wx-checkbox-input{
					width: 27rpx;
					height: 27rpx;
				}
			}
			.none {
				width: 57rpx;
				flex-shrink: 0;
				text {
					display: block;
					width: 54rpx;
					// height: 3rpx;
					border-radius: 14rpx;
					line-height: 32rpx;
					text-align: center;
					background-color: #ccc;
					color: #fff;
					font-size: 20rpx;
				}
			}

			.goods {
				width: 100%;
				display: inline-flex;
				align-items: center;
				justify-content: space-between;
				.img {
					width: 180rpx;
					height: 180rpx;
					border-radius: 20rpx;
					overflow: hidden;
					flex-shrink: 0;
					image {
						width: 100%;
						height: 100%;
					}
				}

				.text {
					flex-grow: 1;
					width: 0;
					height: 180rpx;
					display: flex;
					flex-direction: column;
					justify-content: space-between;
					margin-left: 28rpx;

					.tops {
						margin-top: 13rpx;
						font-size: 28rpx;
						line-height: 38rpx;
					}

					.title {
						font-size: 28rpx;
						line-height:40rpx;
						color: #000;
						max-height:80rpx;
					}
					.sku {
						font-size: 0.24rem;
						color: #999;
					}
					.bot {
						width: 100%;
						display: flex;
						justify-content: space-between;
						align-items: center;
						margin-bottom: 13rpx;
						.price {
							font-size: 24rpx;
							color: $style;
							font-weight: bold;
							.bold {
								font-size: 32rpx;
							}
							.normal{
								font-weight: normal;
								font-size: 24rpx;
								color: #333333;
							}
						}
					}
				}
			}

			&.disabled {
				border-top: none;
				margin-bottom: 2rpx;

				/* border-bottom: 2rpx solid #f0f0f0; */
				&::after {
					content: '';
					display: block;
					width: 150vw;
					height: 100%;
					background-color: rgba(240, 240, 240, 0.5);
					position: absolute;
					top: 0;
					left: -32rpx;
					right: 0;
					bottom: 0;
					z-index: 3;
				}
			}
		}

		.clean-btn {
			display: flex;
			justify-content: center;
			align-items: center;
			float: right;
			margin-top: 20rpx;
			margin-right: 32rpx;
			width: 185rpx;
			height: 48rpx;
			border-radius: 24rpx;
			border: 1px solid #d6d6d6;
			font-size: 25rpx;
			color: #000;
		}
	}

	.fun-line {
		height: 116rpx;
		.fun-line-container{
			position: fixed;
			height: 116rpx;
			bottom:0;
			left: 0;
			right: 0;
			z-index:333;
			display: flex;
			justify-content: space-between;
			align-items: center;
			box-shadow: 0rpx 7rpx 16rpx 0rpx rgba(0,0,0,0.2);
			background-color:#FFFFFF;
			padding: 0 30rpx;
		}
		.left {
			font-size: 24rpx;
			color: #999999;
			view{
				display: inline-block;
			}
			.price {
				margin-left: 14rpx;
				color: $style;
				font-weight: bold;
				font-size: 32rpx;
				span {
					font-size: 36rpx;
				}
			}
		}
		.subbtn {
			width: 220rpx;
			line-height: 90rpx;
			text-align: center;
			border-radius: 10rpx;
			background: #F65C28;
			color: #fff;
			font-size: 32rpx;
		}
	}

	.fun-line-h {
		width: 100%;
		height: 112rpx;
	}
}
